package com.shangyueshang.utils;

import java.time.YearMonth;

/**
 * @author JokeyFeng
 * @date: 2022/1/16 13:13
 * @project: shangyueshang
 * @package: com.shangyueshang.utils
 * @comment:
 */
public abstract class DateUtil {
	
	/**
	 * 年月份转换
	 *
	 * @param formatStr
	 * @return
	 */
	public static YearMonth parseYYYMM(String formatStr) {
		return YearMonth.parse(formatStr);
	}
}
